﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ThemTram.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>Web Service call from client-side JavaScript</title>
      <script type="text/javascript" src="http://www.vietbando.com/maps/API/VBDMapAPI.js?key=e7vjH+pgQHuSyV75dwG6hifJPrObHnz3"></script>
      <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> 
      <script type="text/javascript" src="Scripts/JSSetControlValue.js"></script> 
      <script type="text/javascript" src="Scripts/JSVariable.js"></script>  
      <script type="text/javascript" src="Scripts/DataAccess.js"></script> 
      <script type="text/javascript" src="Scripts/MapControl.js"></script>
      <script type="text/javascript" src="Scripts/Return.js"></script>
      <script type="text/javascript" src="Scripts/JSControl.js"></script>     
       
      <script language="javascript" type="text/javascript">
       
	</script>

</head>
<body onload="load_ThemTram()" >
<form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server">
			<Services>
				<asp:ServiceReference Path="~/BusService.asmx"/>
			</Services>
		</asp:ScriptManager>
	</form>
    <table width="100%">
        <tr>
            <td style="width:25%; vertical-align:top;">
                <fieldset style="height:720px">
                <legend>Thêm Trạm Xe Buýt</legend>
                    <table width="100%" >
                    <tr>
                        <td>Số nhà</td>
                    </tr>
                    <tr>
                        <td><input id="txt_SoNha" type="text" style="width:90%" /></td>
                    </tr>
                    <tr>
                        <td>Tên đường</td>
                    </tr>
                    <tr>
                        <td><input id="txt_TenDuong" type="text" style="width:90%" /></td>
                        
                    </tr>
                    <tr>
                        <td>Quận</td>
                    </tr>
                    <tr>
                        <td>
                            <input id="txt_Quan" type="text" style="width:90%" />
                        </td>
                    </tr>
                    <tr>
                        <td>Thành phố</td>
                    </tr>
                    <tr>
                        <td><input id="Text3" type="text" value="Hồ Chí Minh" style="width:90%" /></td>
                    </tr>
                    <tr>
                        <td>Toạ độ</td>
                    </tr>
                    <tr>
                        <td><input id="txt_ToaDo" type="text" style="width:90%" /></td>
                    </tr>
                    <tr>
                        <td><input id="Text5" type="button" value="Thêm" onclick="_insertStation()" style="width:100px" /></td>
                    </tr>
                </table>
                </fieldset>
            </td>

            <td style="width:75%;">
                <fieldset>
                <legend>Bản Đồ</legend>
                    <div id="container" style="height:700px; width:100%; position:relative; margin:0px;"></div>
                </fieldset>
            </td>
        </tr>
    </table>
       
</body>
</html> 